//
//  AnnotationModel.h
//  ZzzzyManProject
//
//  Created by mac on 16/3/12.
//  Copyright © 2016年 ZzzzyMan@. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface AnnotationModel : NSObject

@property (nonatomic,strong) NSString * imageName;
@property (nonatomic,strong) NSString * name;
@property (nonatomic,strong) NSString * userInfo;
@property (nonatomic,assign) double latitude;
@property (nonatomic,assign) double longitude;
@property (nonatomic,strong) NSString * class;

//字典转模型
+ (instancetype)AnnotationModelWithDict:(NSDictionary *)dict;

+ (void)annotationModelSuccessBlock:(void(^)(NSArray * array))SuccessBlock errorBlock:(void(^)(NSError * error))errorBlock;

@end
